package com.example.demo.day.config.learn.designBook.part8factory.part4;

import com.example.demo.day.config.learn.designBook.part8factory.part1.Human;
import com.example.demo.day.config.learn.designBook.part8factory.part1.WhiteHuman;

//白色人种的创建工厂实现
public class WhiteHumanFactory extends AbstractHumanFactory {

    @Override
    public Human createHuman() {
        return new WhiteHuman();
    }
}
